package com.shop2cn.iapi.agentproducts.parameter;

import java.util.List;

public class CatalogProperty {
    private String name;
    private boolean preset;
    private List<CatalogPropertyValueDto> valueList;
    private List<CatalogPropertySubListDto> subList;
    public List<CatalogPropertySubListDto> getSubList() {
		return subList;
	}

	public void setSubList(List<CatalogPropertySubListDto> subList) {
		this.subList = subList;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isPreset() {
        return preset;
    }

    public void setPreset(boolean preset) {
        this.preset = preset;
    }

    public List<CatalogPropertyValueDto> getValueList() {
        return valueList;
    }

    public void setValueList(List<CatalogPropertyValueDto> valueList) {
        this.valueList = valueList;
    }

    public static class CatalogPropertyValueDto{
//        private String subType;
        private String value;
        private boolean preset;

//        public String getSubType() {
//            return subType;
//        }
//
//        public void setSubType(String subType) {
//            this.subType = subType;
//        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public boolean isPreset() {
            return preset;
        }

        public void setPreset(boolean preset) {
            this.preset = preset;
        }
    }
}
